<%@page import="uade.distribuidas.repo.dto.ClienteDTO"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>Mostrar Cliente</title>
	</head>
	<body>
	<%
	ClienteDTO c = (ClienteDTO)request.getAttribute("cliente");
	String id =String.valueOf(c.getId());
	%>
	<table cellspacing="3" cellpadding="3" border="1" width="60%">
		<tr>
			<td colspan="2"><b>Cliente:</b> 
		     <%=c.getCuil()%>,<%=c.getRazonSocial()%>
			</td>
		</tr>
		<tr>
			<td><b>Id</b></td>
			<td><%=c.getId()%></td>
		</tr>
		<tr>
			<td><b>CUIL</b></td>
			<td><%=c.getCuil()%></td>
		</tr>
		<tr>
			<td><b>Razon Social</b></td>
			<td><%=c.getRazonSocial()%></td>
		</tr>
		<tr>
			<td><b>Domicilio</b></td>
			<td><%=c.getDomicilio()%></td>
		</tr>
		<tr>
			<td><b>Telefono</b></td>
			<td><%=c.getTelefono()%></td>
		</tr>
		<tr>
			<td colspan="2">
			   <a href="ControladorCliente?action=edit&id=<%=c.getId()%>">Editar Cliente</a>
			   <a href="ControladorCliente?action=delete&id=<%=c.getId()%>">Baja Cliente</a>
				
			</td>
		</tr>
		</table>
	</body>
</html>